package com.cyq.dascma.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 *
 * dingwen
 * 2021/4/4 14:31
 **/
@Getter
@Setter
@ToString
@ApiModel(description = "课程表")
@TableName("dasc_man_course")
public class Course implements Serializable {
    private static final long serialVersionUID = 4854021324622459175L;

    @ApiModelProperty(value = "课程ID",name = "course_id")
    @TableId(value = "course_id")
    private	String courseId;

    @ApiModelProperty(value = "课程名称",name = "courseName")
    @TableField(value = "course_name")
    private	String courseName;

    @ApiModelProperty(value = "课程类型：【0：专业必修 1：专业选修】",name = "courseType")
    @TableField(value = "course_type")
    private	Integer courseType;

    @ApiModelProperty(value = "该课程的授课老师的教工号",name = "teacherId")
    @TableField(value = "teacher_id")
    private	String teacherId;

    @ApiModelProperty(value = "上课地址",name = "courseAddress")
    @TableField(value = "course_address")
    private	String courseAddress;

    @ApiModelProperty(value = "课时",name = "courseTime")
    @TableField(value = "course_time")
    private	Integer courseTime;
}
